package com.dl.mall.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author DL
 * @create 2022-03-22 15:02
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "品牌",description = "品牌实体类")
public class Brand implements Serializable {

    @ApiModelProperty(value = "品牌id",required = true,example = "101",notes = "")
    private Integer brandId;
    @ApiModelProperty(value = "品牌名",required = true,example = "小米",notes = "")
    private String brandName;
    @ApiModelProperty(value = "品牌logo图片地址",required = true,example = "",notes = "")
    private String logo;
    @ApiModelProperty(value = "品牌描述",required = true,example = "",notes = "")
    private String describe;
    @ApiModelProperty(value = "品牌状态",required = true,example = "",notes = "")
    private Integer state;
}
